﻿using System.Text.Json.Serialization;

namespace Sirius.Entity
{
    public class Role
    { 
        //身份组ID
        [JsonPropertyName("id")]
        public string Id { get; set; }

        //名称
        [JsonPropertyName("name")]
        public string Name { get; set; }

        //ARGB的HEX十六进制颜色值转换后的十进制数值
        [JsonPropertyName("color")]
        public uint Color { get; set; }

        //是否在成员列表中单独展示: 0-否, 1-是
        [JsonPropertyName("hoist")]
        public int hoist { get; set; }

        //人数
        [JsonPropertyName("number")]
        public int Number { get; set; }

        //成员上限
        [JsonPropertyName("member_limit")]
        public int Mmber_limit { get; set; }
    }
    //系统默认生成下列身份组ID
    public enum DefaultRoleIDs
    {
        //全体成员
        AllMember = 1,
        adminMember = 2,
        God = 4,
        ChannelAdmin = 5
    }
}